package day2.zuoye;

import java.util.Scanner;

public class Test06 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入三个数字");
        int a=input.nextInt();
        int b=input.nextInt();
        int c=input.nextInt();
        if(a>=b&&b>=c){
            System.out.println(a);
        }else if(a>=c&&c>=b){
            System.out.println(a);
        }else if(b>=a&&a>=c){
            System.out.println(b);
        }else if(b>=c&&c>=a){
            System.out.println(b);
        }else if(c>=a&&a>=b){
            System.out.println(c);
        }else if(c>=b&&b>=a){
            System.out.println(c);;
        }
    }
}
